const urlPre = '/warehouse';
const columns = [
    {field: 'ck', checkbox: true},
    {field: 'id', title: '序号', sortable: true, align: 'center'},
    {field: 'name', title: '仓库名称', align: 'center'},
    {field: 'userName', title: '管理员', align: 'center'},
    {field: 'createTime', title: '创建时间', align: 'center', sortable: true}
];

$(document).ready(function () {
    $().ready(function () {
        initUserSelect();
    })
})

function changeVal(checked) {
    $('.dropdown-toggle').text($(checked).text());
    $('input:last').val($(checked).attr('data-attribute'));
}
